using System;

namespace T006
{
    /// <summary>
    /// 
    /// </summary>
    class Pistol : Weapon
    {
        public string skillName;//技能

        //构造方法不能继承
        public Pistol(string name, int mc, int an, float dis, string skill) : base(name, mc, an, dis)
        {
            skillName = skill;
        }

        //override
        public override void Fire()
        {
            Console.WriteLine("Pistol Fire!");
        }
    }
}